package com.tedu.account.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;
import java.util.Date;

@Data
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class AccountVO {
    @ApiModelProperty("账户id")
    Long id;
    @ApiModelProperty("用户名")
    String username;
    @ApiModelProperty("账户卡号")
    String card;
    @ApiModelProperty("备用金")
    BigDecimal spare;
    @ApiModelProperty("固定金额")
    BigDecimal fixedBalance;
    @ApiModelProperty("消费金额")
    BigDecimal expendBalance;
    @ApiModelProperty("	创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date updateTime;
    @ApiModelProperty("	开户组织")
    String organization;
    @ApiModelProperty("老人id")
    Integer userId;
}
